﻿<?xml version="1.0" encoding="utf-8" ?>
<objects xmlns="http://www.springframework.net"
         xmlns:db="http://www.springframework.net/database">
    <description>底层连接数据仓库配置文件</description>
    <!--=====================WebService begin============================== -->
    <object id="repository.wsenter" type="QzgfFrame.Utility.Core.Repository.NHibernateRepository&lt;QzgfFrame.Webservice.Models.Yd170data>, QzgfFrame.Utility">
        <property name="HibernateTemplate" ref="HibernateTemplate"/>
    </object>
   
    <!--=====================WebSerivce end==============================-->
    
    <!--=====================系统管理begin==============================-->
    <!--部门-->
    <object id="repository.department" type="QzgfFrame.Utility.Core.Repository.NHibernateRepository&lt;QzgfFrame.System.DepartmentManger.Models.SystemDepartment>, QzgfFrame.Utility">
        <property name="HibernateTemplate" ref="HibernateTemplate"/>
    </object>
    <!--用户-->
    <object id="repository.user" type="QzgfFrame.Utility.Core.Repository.NHibernateRepository&lt;QzgfFrame.System.UserManger.Models.SystemUser>, QzgfFrame.Utility">
        <property name="HibernateTemplate" ref="HibernateTemplate"/>
    </object>
    <!--用户视图
    <object id="repository.viewuser" type="QzgfFrame.Utility.Core.Repository.NHibernateRepository&lt;QzgfFrame.System.UserManger.Models.ViewSystemUser>, QzgfFrame.Utility">
        <property name="HibernateTemplate" ref="HibernateTemplate"/>
    </object>
    -->
    <!--用户角色-->
    <object id="repository.userrole" type="QzgfFrame.Utility.Core.Repository.NHibernateRepository&lt;QzgfFrame.System.UserManger.Models.SystemUserrole>, QzgfFrame.Utility">
        <property name="HibernateTemplate" ref="HibernateTemplate"/>
    </object>
    <!--菜单-->
    <object id="repository.menu" type="QzgfFrame.Utility.Core.Repository.NHibernateRepository&lt;QzgfFrame.System.MenuManger.Models.SystemMenu>, QzgfFrame.Utility">
        <property name="HibernateTemplate" ref="HibernateTemplate"/>
    </object>
    <!--角色-->
    <object id="repository.role" type="QzgfFrame.Utility.Core.Repository.NHibernateRepository&lt;QzgfFrame.System.RoleManger.Models.SystemRole>, QzgfFrame.Utility">
        <property name="HibernateTemplate" ref="HibernateTemplate"/>
    </object>
    <!--菜单字段-->
    <object id="repository.menufield" type="QzgfFrame.Utility.Core.Repository.NHibernateRepository&lt;QzgfFrame.System.MenufieldManger.Models.SystemMenufield>, QzgfFrame.Utility">
        <property name="HibernateTemplate" ref="HibernateTemplate"/>
    </object>
    <!--========权限begin============-->
    <!--角色模块权限值-->
    <object id="repository.rolefiledpower" type="QzgfFrame.Utility.Core.Repository.NHibernateRepository&lt;QzgfFrame.System.PermissionsManger.Models.SystemRolefiledpower>, QzgfFrame.Utility">
        <property name="HibernateTemplate" ref="HibernateTemplate"/>
    </object>
    <!--角色菜单关系-->
    <object id="repository.rolemenu" type="QzgfFrame.Utility.Core.Repository.NHibernateRepository&lt;QzgfFrame.System.PermissionsManger.Models.SystemRolemenu>, QzgfFrame.Utility">
        <property name="HibernateTemplate" ref="HibernateTemplate"/>
    </object>
    <!--相关视图
    <object id="repository.viewrolemenu" type="QzgfFrame.Utility.Core.Repository.NHibernateRepository&lt;QzgfFrame.System.PermissionsManger.Models.ViewSystemRolemenu>, QzgfFrame.Utility">
        <property name="HibernateTemplate" ref="HibernateTemplate"/>
    </object>
    <object id="repository.viewrolepowerval" type="QzgfFrame.Utility.Core.Repository.NHibernateRepository&lt;QzgfFrame.System.PermissionsManger.Models.ViewSystemRolepowerval>, QzgfFrame.Utility">
        <property name="HibernateTemplate" ref="HibernateTemplate"/>
    </object>
    -->
    <!--========权限end============-->
    <!--短信-->
    <object id="repository.sms" type="QzgfFrame.Utility.Core.Repository.NHibernateRepository&lt;QzgfFrame.System.SmsManger.Models.TabQywyySmsSend>, QzgfFrame.Utility">
        <property name="HibernateTemplate" ref="HibernateTemplate"/>
    </object>
    <!--======================系统管理end================================-->



    <!--=======================档案管理begin===============================-->
    <!--========================档案管理end================================-->

    
    
    

    <!--暂时保留待后整合,提供组合系统信息查询方法处理-->
    <!--代码仓库,GridViewPager,页面显示层的分离,应用AdoTemplate,目的是 -->
    <object id="databasehelper" type="QzgfFrame.Utility.DataBase.DataBaseHelper, QzgfFrame.Utility">
        <property name="AdoTemplate" ref="AdoTemplate"/>
    </object>
</objects>
